how to check armstrong number in c using while loop